package com.vastcom.sigma.admin.model;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Date;

@Entity
public class Bakerecord {
    private String bakerecordid;
    private String scpc;
    private String dbid;
    private Date hbrq;
    private Double hbl;
    private Double csl;
    private Double shl;
    private Double rdwd;
    private Double hwwd;
    private Double ybwd;
    private Integer ybsj;
    private Double cdwd;
    private Integer hbsj;
    private Double fm;
    private Double hl;
    private String hj;
    private String hbr;
    private String clqk;

    @Id
    @Column(name = "bakerecordid")
    public String getBakerecordid() {
        return bakerecordid;
    }

    public void setBakerecordid(String bakerecordid) {
        this.bakerecordid = bakerecordid;
    }

    @Basic
    @Column(name = "scpc")
    public String getScpc() {
        return scpc;
    }

    public void setScpc(String scpc) {
        this.scpc = scpc;
    }

    @Basic
    @Column(name = "dbid")
    public String getDbid() {
        return dbid;
    }

    public void setDbid(String dbid) {
        this.dbid = dbid;
    }

    @Basic
    @Column(name = "hbrq")
    public Date getHbrq() {
        return hbrq;
    }

    public void setHbrq(Date hbrq) {
        this.hbrq = hbrq;
    }

    @Basic
    @Column(name = "hbl")
    public Double getHbl() {
        return hbl;
    }

    public void setHbl(Double hbl) {
        this.hbl = hbl;
    }

    @Basic
    @Column(name = "csl")
    public Double getCsl() {
        return csl;
    }

    public void setCsl(Double csl) {
        this.csl = csl;
    }

    @Basic
    @Column(name = "shl")
    public Double getShl() {
        return shl;
    }

    public void setShl(Double shl) {
        this.shl = shl;
    }

    @Basic
    @Column(name = "rdwd")
    public Double getRdwd() {
        return rdwd;
    }

    public void setRdwd(Double rdwd) {
        this.rdwd = rdwd;
    }

    @Basic
    @Column(name = "hwwd")
    public Double getHwwd() {
        return hwwd;
    }

    public void setHwwd(Double hwwd) {
        this.hwwd = hwwd;
    }

    @Basic
    @Column(name = "ybwd")
    public Double getYbwd() {
        return ybwd;
    }

    public void setYbwd(Double ybwd) {
        this.ybwd = ybwd;
    }

    @Basic
    @Column(name = "ybsj")
    public Integer getYbsj() {
        return ybsj;
    }

    public void setYbsj(Integer ybsj) {
        this.ybsj = ybsj;
    }

    @Basic
    @Column(name = "cdwd")
    public Double getCdwd() {
        return cdwd;
    }

    public void setCdwd(Double cdwd) {
        this.cdwd = cdwd;
    }

    @Basic
    @Column(name = "hbsj")
    public Integer getHbsj() {
        return hbsj;
    }

    public void setHbsj(Integer hbsj) {
        this.hbsj = hbsj;
    }

    @Basic
    @Column(name = "fm")
    public Double getFm() {
        return fm;
    }

    public void setFm(Double fm) {
        this.fm = fm;
    }

    @Basic
    @Column(name = "hl")
    public Double getHl() {
        return hl;
    }

    public void setHl(Double hl) {
        this.hl = hl;
    }

    @Basic
    @Column(name = "hj")
    public String getHj() {
        return hj;
    }

    public void setHj(String hj) {
        this.hj = hj;
    }

    @Basic
    @Column(name = "hbr")
    public String getHbr() {
        return hbr;
    }

    public void setHbr(String hbr) {
        this.hbr = hbr;
    }

    @Basic
    @Column(name = "clqk")
    public String getClqk() {
        return clqk;
    }

    public void setClqk(String clqk) {
        this.clqk = clqk;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Bakerecord that = (Bakerecord) o;

        if (bakerecordid != null ? !bakerecordid.equals(that.bakerecordid) : that.bakerecordid != null) return false;
        if (scpc != null ? !scpc.equals(that.scpc) : that.scpc != null) return false;
        if (dbid != null ? !dbid.equals(that.dbid) : that.dbid != null) return false;
        if (hbrq != null ? !hbrq.equals(that.hbrq) : that.hbrq != null) return false;
        if (hbl != null ? !hbl.equals(that.hbl) : that.hbl != null) return false;
        if (csl != null ? !csl.equals(that.csl) : that.csl != null) return false;
        if (shl != null ? !shl.equals(that.shl) : that.shl != null) return false;
        if (rdwd != null ? !rdwd.equals(that.rdwd) : that.rdwd != null) return false;
        if (hwwd != null ? !hwwd.equals(that.hwwd) : that.hwwd != null) return false;
        if (ybwd != null ? !ybwd.equals(that.ybwd) : that.ybwd != null) return false;
        if (ybsj != null ? !ybsj.equals(that.ybsj) : that.ybsj != null) return false;
        if (cdwd != null ? !cdwd.equals(that.cdwd) : that.cdwd != null) return false;
        if (hbsj != null ? !hbsj.equals(that.hbsj) : that.hbsj != null) return false;
        if (fm != null ? !fm.equals(that.fm) : that.fm != null) return false;
        if (hl != null ? !hl.equals(that.hl) : that.hl != null) return false;
        if (hj != null ? !hj.equals(that.hj) : that.hj != null) return false;
        if (hbr != null ? !hbr.equals(that.hbr) : that.hbr != null) return false;
        if (clqk != null ? !clqk.equals(that.clqk) : that.clqk != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = bakerecordid != null ? bakerecordid.hashCode() : 0;
        result = 31 * result + (scpc != null ? scpc.hashCode() : 0);
        result = 31 * result + (dbid != null ? dbid.hashCode() : 0);
        result = 31 * result + (hbrq != null ? hbrq.hashCode() : 0);
        result = 31 * result + (hbl != null ? hbl.hashCode() : 0);
        result = 31 * result + (csl != null ? csl.hashCode() : 0);
        result = 31 * result + (shl != null ? shl.hashCode() : 0);
        result = 31 * result + (rdwd != null ? rdwd.hashCode() : 0);
        result = 31 * result + (hwwd != null ? hwwd.hashCode() : 0);
        result = 31 * result + (ybwd != null ? ybwd.hashCode() : 0);
        result = 31 * result + (ybsj != null ? ybsj.hashCode() : 0);
        result = 31 * result + (cdwd != null ? cdwd.hashCode() : 0);
        result = 31 * result + (hbsj != null ? hbsj.hashCode() : 0);
        result = 31 * result + (fm != null ? fm.hashCode() : 0);
        result = 31 * result + (hl != null ? hl.hashCode() : 0);
        result = 31 * result + (hj != null ? hj.hashCode() : 0);
        result = 31 * result + (hbr != null ? hbr.hashCode() : 0);
        result = 31 * result + (clqk != null ? clqk.hashCode() : 0);
        return result;
    }
}
